/**
 * 
 */
package com.xth8013.as.domain;

import java.util.Date;

/**
 * 
 * @Description:
 * @author: tianhua.xie
 * @Date: 2017年4月3日 下午9:22:40 
 * 
 */
public class User extends ValueObject {

	private Integer userId;// 用户ID
	private String userAccount;// 用户账号
	private String userPwd;// 密码
	private String userStatus;// 角色状态 (1:正常，0:伪删除)

	private String name;// 用户姓名
	private String sex;// 性别 （1：男 2：女）
	private String nativePlace;// 籍贯
	private String idCardNo;// 身份证号码
	private String officeTel;// 办公号码
	private String email;// 电子邮箱
	private String phone;// 手机
	private String address;// 住址
	private Integer maritalStatus;// 婚否
	private Date createdTime;// 创建时间

	private DataDictionary department;// 所属部门（有数据字典管理）
	private DataDictionary jobTitle;// 职称（有数据字典管理）

	public Integer getUserId() {
		return userId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public String getName() {
		return name;
	}

	public DataDictionary getDepartment() {
		return department;
	}

	public DataDictionary getJobTitle() {
		return jobTitle;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public String getSex() {
		return sex;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public String getIdCardNo() {
		return idCardNo;
	}

	public String getOfficeTel() {
		return officeTel;
	}

	public String getEmail() {
		return email;
	}

	public String getPhone() {
		return phone;
	}

	public String getAddress() {
		return address;
	}

	public Integer getMaritalStatus() {
		return maritalStatus;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDepartment(DataDictionary department) {
		this.department = department;
	}

	public void setJobTitle(DataDictionary jobTitle) {
		this.jobTitle = jobTitle;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public void setIdCardNo(String idCardNo) {
		this.idCardNo = idCardNo;
	}

	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setMaritalStatus(Integer maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public String getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userAccount=" + userAccount + ", userPwd=" + userPwd + ", userStatus="
				+ userStatus + ", name=" + name + ", sex=" + sex + ", nativePlace=" + nativePlace + ", idCardNo="
				+ idCardNo + ", officeTel=" + officeTel + ", email=" + email + ", phone=" + phone + ", address="
				+ address + ", maritalStatus=" + maritalStatus + ", createdTime=" + createdTime + ", department="
				+ department + ", jobTitle=" + jobTitle + "]";
	}


}
